package com.hornsun.client.mall.commodity.dto;

import com.hornsun.domain.dbo.Commodity;
import com.hornsun.domain.dbo.ContentType;

import java.util.List;

/**
 * Created by 编译中... on 2018/4/14.
 */
public class CommodityInfoDTO {
    private List<ContentType> types;//商品类型
    private List<Commodity> commodities;//商品信息
    private Long totalCount;

    public List<ContentType> getTypes() {
        return types;
    }

    public void setTypes(List<ContentType> types) {
        this.types = types;
    }

    public List<Commodity> getCommodities() {
        return commodities;
    }

    public void setCommodities(List<Commodity> commodities) {
        this.commodities = commodities;
    }

    public long getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(long totalCount) {
        this.totalCount = totalCount;
    }

    @Override
    public String toString() {
        return "CommodityInfoDTO{" +
                "types=" + types +
                ", commodities=" + commodities +
                ", totalCount=" + totalCount +
                '}';
    }
}
